package com.culturalCenter.dataCenter.service.user;

import com.culturalCenter.dataCenter.entity.user.UserLocationTypeCount;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface UserLocationTypeCountService {

    /**
     * UserLocationTypeCount分页查询
     *
     * @param page
     * @param size
     *
     * @return
     */
    PageInfo<UserLocationTypeCount> findPage(int page, int size);

    /**
     * 删除UserLocationTypeCount
     *
     * @param id
     */
    Integer delete(String id);

    /**
     * 修改UserLocationTypeCount数据
     *
     * @param userLocationTypeCount
     */
    Integer update(UserLocationTypeCount userLocationTypeCount);

    /**
     * 新增UserLocationTypeCount
     *
     * @param userLocationTypeCount
     */
    Integer add(UserLocationTypeCount userLocationTypeCount);

    /**
     * 根据ID查询UserLocationTypeCount
     *
     * @param id
     *
     * @return
     */
    UserLocationTypeCount findById(String id);

    /**
     * 查询所有UserLocationTypeCount
     *
     * @return
     */
    List<UserLocationTypeCount> findAll(UserLocationTypeCount userLocationTypeCount);

}
